﻿<Serializable()> _
Public Class ImagemPeca

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property

    Private _descricao As String
    Public Overridable Property Descricao() As String
        Get
            Return _descricao
        End Get
        Set(ByVal value As String)
            _descricao = value
        End Set
    End Property

    Private _extensao As String
    Public Overridable Property Extensao() As String
        Get
            Return _extensao
        End Get
        Set(ByVal value As String)
            _extensao = value
        End Set
    End Property

    Private _tamanho As Integer
    ''' <summary>
    ''' Em bytes
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Overridable Property Tamanho() As Integer
        Get
            Return _tamanho
        End Get
        Set(ByVal value As Integer)
            _tamanho = value
        End Set
    End Property


    Private _peca As Peca
    Public Overridable Property Peca() As Peca
        Get
            Return _peca
        End Get
        Set(ByVal value As Peca)
            _peca = value
        End Set
    End Property


End Class
